{% if project %}
        <table border=0>
	<tr><td><b>Fieldname</b></td><td><b>Value</b></td><td></td></tr>
        {% for generic in project.genericfield_set.all %}
		<form action='generic/{{generic.id}}/commit/' method=POST>
		<tr><td><input type=text name=fieldname size=15 length=50 value='{{ generic.fieldname }}'></td><td><input type=text size=15 length=50 name=value value='{{ generic.value }}'></td>
		<td><input type=submit value='Save'></td>
		</tr>
		</form>
        {% endfor %}
	<tr><td><b>Add new</b></td><td></td><td></td></tr>
	<form action='generic/add/' method=POST>
		<tr><td><input type=text name=fieldname size=15 length=50 value=''></td><td><input type=text size=15 length=50 name=value value=''></td>
		<td><input type=submit value='Add'></td>
		</tr>
		</form>

        </table>

{% else %}
        <p>No projects are available.</p>
{% endif %} 
